package annotation;

import java.lang.annotation.*;

/**
 * @Author : yangfan
 * @Date : 2016/10/20
 * @Time : 21:19
 * @Version : 1.0
 */
@Documented
@Target({ElementType.PARAMETER, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ParameterNotNull {
    String message() default "This parameter is not null.";

    String parameter();
}
